package BL;

import java.sql.ResultSet;
import java.sql.SQLException;

import javax.swing.text.html.HTMLDocument.HTMLReader.SpecialAction;

import databaseBL.Database;
import databaseBL.LoginDataBase;
import databaseBLService.LoginDataBaseService;
import BlService.LoginBLService;

public class LoginBL implements LoginBLService {

	/**
	 * 
	 * @param username
	 * @param password
	 * @return
	 */

	LoginDataBaseService loginDB = new LoginDataBase(); 
		
		@Override
		public String checkUser(String username, String password) {
			// TODO Auto-generated method stub
			
			String position = "";
			
			position = loginDB.checkUserDB(username, password);
			
			return position;
		}
	

}
